Expand description
This crate contains types for measuring linear sets by either the end
points (Line
) or by a starting point and the number of elements (Span
).
In the interest of zero-cost abstractions, all methods are always inlined for maximum compiler optimization. Thus, you only pay for the conversions that are actually used.
Structs
Expresses a linear set by its starting and termination points
Expresses a linear set by its start element and number of elements.